home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / Mac⁄gnuucp 6.14 / source / gnuucp_proto.h < prev    next >
Encoding:
Text File  |  1994-01-22  |  2.5 KB  |  106 lines  |  [TEXT/KAHL]

  1. /* GNUUCP prototypes */
  2.  
  3. /* gio.c */
  4.  
  5. int writeframe(int, unsigned char *msgo);
  6. int ackmsg(void);
  7. int ctlmsg(char);
  8. int sendpacket(char *, int, int);
  9. int inpkt(void);
  10. int chksum(unsigned char *, int n);
  11. int indata(void);
  12. int gturnon(int);
  13. int gturnoff(void);
  14. int grdmsg(char *, int);
  15. int gwrmsg(char, char *, int);
  16. int gwrdata(FILE *, int);
  17. int grddata(int, FILE *);
  18. extern int segsiz;
  19.  
  20. /* GNUUCP.c */
  21.  
  22. int getstring(char *);
  23. int instr(char *, int, int);
  24. int twrite(char *, int);
  25. int main (int, char **);
  26. int debuggit(void);
  27. int sendexpect(char *, char *);
  28. int xlat_str(char *);
  29. struct port *findport(char *, struct port *);
  30. struct port *pickport(char *, long, struct port *);
  31. int dial_nbr(struct port *, char *);
  32. int call_system(char *);
  33. char *get_sysline(char *, int, FILE *);
  34. int call_sysline(char *);
  35. int do_session(int, char *);
  36. int top_level(int);
  37. int do_one_slave(void);
  38. int do_one_master(void);
  39. int yesno(char, int, int);
  40. int host_send_file(char *);
  41. int host_receive_file(char *);
  42. int local_send_file(char *);
  43. int local_receive_file(void);
  44. int receive_file(FILE *, char *, char *, char *);
  45. int send_file(FILE *);
  46.  
  47. /* locking.c */
  48.  
  49. int ttylock(char *);
  50. int ttyunlock(void);
  51.  
  52. /* sysdep.c */
  53.  
  54. extern long total_data_processed;
  55. int openline(char *, int);
  56. int openout(struct port *);
  57. int openin(struct port *);
  58. void sigint(int);
  59. int xwrite(/* int, */ char *, int);
  60. int xgetc_fill_buff(void);
  61. int xgetc(void);
  62. void send_break (void);
  63. int hangup(struct port *);
  64. char *temp_filename(char *);
  65. char *munge_filename(char *);
  66. char *unmunge_filename(char *);
  67. void work_done(void);
  68. char *index(char *, char);
  69. int work_scan(char *, char *);
  70. int work_look(void);
  71. char *work_next(void);
  72. char *time_and_pid(void);
  73. int chdir(char *);
  74. /* int execlp(char *, char *, int); */
  75. struct DIR *opendir(char *);
  76. int closedir(struct DIR *);
  77. struct dirent *readdir(struct DIR *);
  78. /* char *strtok(char *, char *); */
  79. int strncmpic (char *, char *, int);
  80. void bzero (char *, unsigned);
  81. void bcopy(char *, char *, int);
  82. /* int system(char *); */
  83. int access(char *, int);
  84. int random(void);
  85. int mindex(char *, char);
  86. void gnuucp_cleanup(void);
  87. void HandleEvents (void);
  88. char *currtime(void);
  89. void gnusleep(unsigned);
  90. int parse(char *, char *, char **argv[]);
  91.  
  92. /* uumisc.c */
  93.  
  94. int read_params(char *);
  95. char *gimmestring(void);
  96. char *gimmefilestring(void);
  97. int getargs(char *, char **, int);
  98. int logit(char *, char *);
  99. int mlogit(char *, char *);
  100. void cuserid(char *);
  101.  
  102. /* gnuuxqt.c */
  103. int uuxqt(int);
  104. int invoke (char *, char *, char *, char *);
  105.  
  106.